package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallAddress;
import com.ctsi.ssdc.domain.LitemallAddressExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallAddressRepository extends BaseRepository<LitemallAddress, Integer, LitemallAddressExample> {
    @Override
    long countByExample(LitemallAddressExample example);

    @Override
    int deleteByExample(LitemallAddressExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallAddress record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallAddress record);

    @Override
    List<LitemallAddress> selectByExample(LitemallAddressExample example);

    @Override
    LitemallAddress selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);

    @Override
    int updateByExample(@Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallAddress record);

    @Override
    int updateByPrimaryKey(LitemallAddress record);

    LitemallAddress selectOneByExample(LitemallAddressExample example);
}